package org.origin.ferret.system.model.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.origin.centre.support.base.interfaces.XEnum;

/**
 * 状态（0.正常，1.冻结，2.异常）
 *
 * @author ferret
 * @version 2024-05-08
 */
@Getter
@RequiredArgsConstructor
public enum UserStatusEnum implements XEnum<Integer> {
    NORMAL(1, "正常"),
    FREEZE(2, "冻结"),
    EXCEPTION(3, "异常");

    private final Integer code;
    private final String title;

}